*{
    margin: 0;
    padding: 0;
}

/* прозрачный блок */
#backTransparent {
    position:fixed;
    min-height: 100%;
    width: 950px;
    left:50%;
    margin-left: -475px;
    background: #74869d;
    opacity: 0.45;
    z-index:0;
}

/* Форма с добавления заметки */
#postNote, #postComment, #editNoteForm{
    position: fixed;
    padding: 20px;
    height: 280px;
    width:400px;
    left:50%;
    top:50%;
    margin-top: -125px;
    margin-left: -200px;
    background: #00cccc;
    display: none;
    z-index: 2;
}

#postNote *,#postComment *, #editNoteForm *{
    float:left;
    display:block;
}

#postNote .title, #postComment .title, #editNoteForm .title{
    margin-left: 50px;
    font-size:30px;
    margin-bottom:10px;
}

#postNote textarea, #postComment textarea, #editNoteForm textarea{
    resize: none;
    margin-left: 5px;
    margin-bottom: 10px;
}

#postNote input[type="submit"], #postNote button{
    width:120px;
    margin-bottom: 2px;
}

#postComment input[type="submit"], #postComment button{
    width:120px;
    margin-bottom: 2px;
}

#editNoteForm input[type="submit"], #editNoteForm button{
    width:120px;
    margin-bottom: 2px;
    clear:left;
    display: block;
    margin-top: 5px;
}

#postNote label{
    float:left;
    margin-right: 5px;
}
#postNote input[type="text"]{
    clear:right;
    float:left;
    width:280px;
    margin-bottom: 10px;
}

/* div контента */
#content {
    position:absolute;
    min-height: 900px;
    width: 900px;
    left:50%;
    margin-left: -450px;
    z-index: 1;
}

/* Шапка с информацией о пользователе */
#userinfo{
    position: relative;
    display: block;
    width:100%;
    margin-top: 20px;
}
#userinfo *{
    display: inline;
}

#userinfo .photo{
    position: relative;
    width:150px;
    height:150px;
    display: block;
    float: left;
    background: #ccccff;
    border-radius: 20px;
    overflow: hidden;
    clear: none;
    margin-right: 30px;
}
#userinfo .photo img{
    width:150px;
    height:150px;
}

#userinfo .name{
    font-size: 25px;
}

#userinfo .motto{
    display:block;
    font-size:20px;
    margin-top:10px;
}

#userinfo .karma{
    display:block;
    font-size:20px;
    margin-top:10px;
}

#userinfo .controls{
    display:block;
    margin: 0 5px;
    float:right;
}

/* заметки */
#notes{
    position: relative;
    clear: both;
    display: block;
    width:880px;
    min-height: 600px;
    overflow: hidden;
    margin-top:100px;
    margin-bottom: 30px;
    margin-right: 10px;
    background: white;
    -moz-border-radius: 20px 20px 20px 20px;
    padding: 10px;
    padding: 5px 10px;
}

#notes .addButton{
    position: relative;
    float:left;
    margin-left:10px;
    width:200px;
    height: 30px;
}

#notes .title{
    float: left;
    font-size:30px;
    clear: both;
}




#note{
    position: relative;
    display: block;
    float: left;
    clear: both;
    margin: 10px 0;
    width: 100%;
    padding: 5px 0;
    border-bottom: 2px solid red;
    border-top: 2px solid red;
}


.left, .middle, .right{
    position: relative;
    display: inline;
    margin: 0px;
    padding: 0px;
}

.left{
    float:left;
    width:150px;
    min-height: 10px;
}
.right{
    float: right;
    min-height: 10px;
    width:255px;
}
.middle{
    float:left;
    width:450px;
    min-height: 10px;
    margin-left: 10px;
}


#note .photo{
    position: relative;
    width:130px;
    height:130px;
    display: block;
    float: left;
    background: #ccccff;
    border-radius: 20px;
    overflow: hidden;
    clear: none;
    margin: 0 10px;
    margin-bottom: 10px;
}

#note .photo img{
    width:130px;
    height:130px;
}

.left a{
    display: block;
    clear: both;
    text-align: center;
}

#note .name, #note .time{
    font-size: 20px;
    margin-right: 10px;
}

#noteText{
    position: relative;
    display: block;
    width: 97%;
    min-height: 161px;
    font-size: 24px;
    margin-left: 15px;
    margin-top: 10px;
    background: #73bfbf;
    
}

#note .video{
    margin-top: 10px;
}

.comment{
    margin-left:80px !important;
    border-bottom: 2px solid blue !important;
    border-top: 2px solid blue !important;
}

.noNotes{
    font-size: 30px;
    color:red;
    display: block;
    clear:both;
    margin-left:170px;
}